package com.joe.dev.springlearn.spring;

import com.joe.dev.springlearn.model.Car;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("com.joe.dev.springlearn.processor")
public class MainConfig {

    @Bean
    public Car getCar(){
        return new Car();
    }
}
